package com.example.demo.controller.remark;


import com.example.demo.service.remark.RemarkService;
import com.example.demo.vo.ResultVO;
import com.example.demo.vo.remark.RemarkInfoVO;
import com.example.demo.vo.remark.RemarkVO;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/remark")
public class RemarkController {

    @Resource
    RemarkService remarkService;

    @PostMapping("/submitRemark")
    public ResultVO<RemarkInfoVO> submitRemark(@RequestBody RemarkInfoVO remarkInfoVO){
        return remarkService.submitRemark(remarkInfoVO);
    }
}
